<?php
App::uses('AppModel', 'Model');
class FriendlyUrl extends AppModel{
	public $name='FriendlyUrl';
	public $validate = array(		
		'url' => array(array('rule'=>'notEmpty','message'=>'Can not be empty!'),
						array('rule'=>array('unique','url'),'message'=>'data is already existed'))	
	);	
	
}
?>
